package com.hrm.system.dao;

import com.hrm.domain.system.User;
import org.springframework.data.jpa.repository.JpaRepository;
import org.springframework.data.jpa.repository.JpaSpecificationExecutor;

/**
 * @Author: 林海湾Sea
 * @Date :  2021/11/25 19:28
 * @Decription: 企业员工数据访问接口
 */
public interface UserDao extends JpaRepository<User, String>, JpaSpecificationExecutor<User> {

    public User findByMobile(String mobile);
}
